Folder Synchronize Command Script Syntax (Ver 3.0) FILTER SETTINGS FOR SCRIPTS Funduc Software, Inc Copyright 1997-2009 http://www.funduc.com    http://www.searchandreplace.com support@Funduc.com     support@searchandreplace.com  # and ' are the comment characters for scripts but this file is NOT a sample script. DO NOT submit this file to the program as a script. Here are some details and example settings for the various filter switches. Please note that there is a slight difference in the switch verbs with the two syntax forms: Folder Synchronize Form Original Syntax Form ----------------------- ------------------------- Skip Files Mask= Skip Files Mask= Ignore Attributes= Ignored Attributes Mask= The file skip, attribute, and reverse filter swtiches work in combination with each other. The number of combinations of values is extensive. Some example settings are below. Additional settings are possible. Write support@funduc.com if you need help.;-) # *** SIZE & DATE EXCLUDE FILTERS *** # Size & date filters exclude files by size &/or date. Any files # that are less than the minimum size (in bytes) will be excluded # from the operation. If you use Reverse Filters=1, the settings # work as 'include' filters. Dates use the format specified in # Control Panel (Regional Settings). Leave blank or omit entirely if # you want no setting. # Also note that you can use the string, %%today%%, for the two # date filters. When specified, %%today%% automatically uses the # current computer date for the respective filter setting. You can # add or subtract days by specifying a +/- value before the ending # %%. Examples: %%today-5%% uses a date filter of the current date # minus 5 days; %%today+1%% adds one day to the current date. # Min Size Filter=0 # Max Size Filter=100000 # Min Date Filter=8/21/2001 # Max Date Filter=8/23/2004 # *** REVERSE FILTERS *** # Reverse filters= is used to make the other filter switches # function as exlude or include filters. For example, Reverse # Filters=0 & Max Date Filter=01/01/2000 excludes all files with a # stamp after Jan 01, 2000. Reverse Filters=1 changes this to # include only files dated Jan 01, 2000 or after. # The values are: # 0 = Do not use Reverse Filtering. # 1 = Reverse Filter mode enabled. # If not specified, Default = 0. Reverse Filters=0 # *** FILE & DIRECTORY ATTRIBUTE FILTERS **** # # The Skip Files Mask= and Ignore Attributes= switches are used # together, in conjunction with Reverse Filters= to exclude/include # some file types in the operation. # # The default values of Skip Files Mask=0 & Ignore Attributes=55 # mean no files or subdirs are filtered. If you wish to use these # defaults it is not necessary to specify these switches. # # Note that files can have zero, one, or more attributes at the same # time. For example, a file could be set as Read-Only, Archive, System. # Or it could be as just Read-Only. Or it could have no attributes # specified. # # Use the below list for some common settings. The convention # is: Read-Only - R # Hidden - H # System - S # Archive - A # # Other combinations are possible. The logic behind the number values # is complex and difficult to explain in words. If there is a setting # you need that is not listed below you can use our freeware # Folder Synch Script Editor to generate the code you need or write # support@funduc.com. Links to the Folder Synch Script Editor can be # found on http://www.funduc.com or http://www.searchandreplace.com # Include R (+ any other attribute) # Exclude R (+ any other attribute) Skip Files Mask=1 Skip Files Mask=1 Ignore Attributes=54 Ignore Attributes=54 Reverse Filters=1 Reverse Filters=0 # Include R (sole attribute) # Exclude R (sole attribute) Skip Files Mask=1 Skip Files Mask=1 Ignore Attributes=16 Ignore Attributes=16 Reverse Filters=1 Reverse Filters=0 # Include A (+ any other attribute) # Exclude A (+ any other attribute) Skip Files Mask=32 Skip Files Mask=32 Ignore Attributes=23 Ignore Attributes=23 Reverse Filters=1 Reverse Filters=0 # Include A (sole attribute) # Exclude A (sole attribute) Skip Files Mask=32 Skip Files Mask=32 Ignore Attributes=16 Ignore Attributes=16 Reverse Filters=1 Reverse Filters=0 # Include S (+ any other attribute) # Exclude S (+ any other attribute) Skip Files Mask=4 Skip Files Mask=4 Ignore Attributes=51 Ignore Attributes=51 Reverse Filters=1 Reverse Filters=0 # Include S (sole attribute) # Exclude S (sole attribute) Skip Files Mask=4 Skip Files Mask=4 Ignore Attributes=16 Ignore Attributes=16 Reverse Filters=1 Reverse Filters=0 # Include H (+ any other attribute) # Exclude H (+ any other attribute) Skip Files Mask=2 Skip Files Mask=2 Ignore Attributes=53 Ignore Attributes=53 Reverse Filters=1 Reverse Filters=0 # Include H (sole attribute) # Exclude H (sole attribute) Skip Files Mask=2 Skip Files Mask=2 Ignore Attributes=16 Ignore Attributes=16 Reverse Filters=1 Reverse Filters=0 # Include R & H (+ any other attribute) # Exclude R & H (+ any other attribute) Skip Files Mask=3 Skip Files Mask=3 Ignore Attributes=52 Ignore Attributes=52 Reverse Filters=1 Reverse Filters=0 # Include R & H # Exclude R & H Skip Files Mask=3 Skip Files Mask=3 Ignore Attributes=16 Ignore Attributes=16 Reverse Filters=1 Reverse Filters=0 # Include R, H, & S (+ any other attribute) # Exclude R, H, & S (+ any other attribute) Skip Files Mask=7 Skip Files Mask=7 Ignore Attributes=48 Ignore Attributes=48 Reverse Filters=1 Reverse Filters=0 # Include R, H, & S # Exclude R, H, & S Skip Files Mask=7 Skip Files Mask=7 Ignore Attributes=16 Ignore Attributes=16 Reverse Filters=1 Reverse Filters=0 # Include files with No Attribute Setting # Exclude files with No Attribute Setting Skip Files Mask=0 Skip Files Mask=0 Ignore Attributes=16 Ignore Attributes=16 Reverse Filters=1 Reverse Filters=0